Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fallback finding of ccd #112

Conversation

mwoehlke-kitware
Copy link
Contributor

Fix finding include directory for ccd when falling back from using pkg-config. The old mechanism would find the include directory as e.g. prefix/include/ccd, which fails when we try to include ccd/ccd.h. Drop the path suffix and instead search for the literal name ccd/ccd.h, which will produce the correct include path.

Fix finding include directory for ccd when falling back from using 
pkg-config. The old mechanism would find the include directory as e.g.
`prefix/include/ccd`, which fails when we try to include `ccd/ccd.h`. 
Drop the path suffix and instead search for the literal name 
`ccd/ccd.h`, which will produce the correct include path.
@sherm1
Copy link
Member

sherm1 commented Apr 1, 2016

This looks fine to me, although I didn't test it. Anyone object to merging it?

@mband
Copy link
Contributor

mband commented Apr 1, 2016

I was just about to create an issue and supply a PR for this exact same issue.

@sherm1 sherm1 merged commit d65487f into flexible-collision-library:master Apr 1, 2016
@mwoehlke-kitware mwoehlke-kitware deleted the fix-find-ccd-fallback branch April 4, 2016 19:06
@jslee02 jslee02 added this to the FCL 0.5.0 milestone Apr 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants